#ifndef __TASK_QUEUE__
#define __TASK_QUEUE__
#include "my_header.h"
typedef struct node_s{
    int netFd;
    struct node_s *pnext;
}node_t;

typedef struct taskQueue_s{
    int queueSize;
    node_t *pFront;
    node_t *pRear;
}taskQueue_t;

int initQueue(taskQueue_t *pQueue);
int enQueue(taskQueue_t *pQueue,int netFd);
int deQueue(taskQueue_t *pQueue);
int visitQueue(taskQueue_t *pQueue);
#endif
